//
//  Card.m
//  hanafudaIPhone
//
//  Created by 우성 김 on 12. 3. 26..
//  Copyright (c) 2012년 yy01ar@gmail.com. All rights reserved.
//

#import "Card.h"

@implementation Card

@synthesize value;
@synthesize type;
//@synthesize cardSprite;

-(id)initWithValue:(int)initValue AndType:(int)initType
{
    if(self = [super initWithFile:[NSString stringWithFormat:@"hanafuda_%d_%d.png", initValue, initType]])
    {
        value = initValue;
        type = initType;
    }
    return self;
}

-(void)dealloc
{
    [super dealloc];
}
@end
